//
//  FoundViewController.swift
//  Jock
//
//  Created by HD on 15/4/3.
//  Copyright (c) 2015年 Haidy. All rights reserved.
//

import UIKit

// 发现
class FoundViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let view = FoundView(frame: self.view.frame)
        self.view.addSubview(view)
        view.nearbyButton.click { (button) -> Void in
            self.navigationController!.pushViewController(NearbyViewController(), animated: true)
        }
    }


    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }

}
